Searchanise\SmartWoocommerceSearch\Async D

Total Complexity 349
Dependencies 12
Dependents 7
Total lines 2,922
Lines of code 1,780
Logical lines of code 784
Comment lines 650
Methods 62
Properties 2

Methods 62

Method Rating Maintainability Complexity Lines of code
prepareProductData()
D
12
56 376
async()
D
21
44 206
generateProductPrices()
B
38 22 67
prepareProductMetaData()
B
30 11 146
init()
A
45 14 41
prepareFacetData()
A
46 14 37
addTaskByChunk()
A
43 10 52
getProductsData()
A
45 10 44
getAlsoBoughtProducts()
A
43 9 49
ajaxAsync()
A
50 10 25
getProductQuantity()
A
52 10 21
generateProductAttribute()
A
47 7 35
generateUsergroupProductPrices()
S
42 5 59
getVariationProductPrices()
S
52 7 23
getProductImage()
S
56 7 18
getCategoriesData()
S
48 6 32
getPagesData()
S
49 6 29
getProductsAdditional()
S
55 6 20
getProductTerms()
S
57 5 16
getProductFilters()
S
43 2 56
getAttributeFilters()
S
56 4 18
generateProductMetaFields()
S
57 4 16
getExcludedProductIds()
S
58 4 16
getQuantity()
S
61 4 14
getAddToCartProductUrl()
S
60 4 13
generateFilterFromAttribute()
S
60 4 12
getChildrenProducts()
S
60 4 12
removeContentNoise()
S
54 3 23
getSimpleProductPrices()
S
55 3 19
getProductTags()
S
59 3 14
getOptions()
S
63 3 11
getProductsIdsFromRange()
S
57 2 18
getMinMaxProductId()
S
59 2 15
checkAttributtes()
S
64 3 10
generateCustomProductAttribute()
S
64 3 10
generateCustomAttribute()
S
59 2 14
getHeader()
S
60 2 13
getProductsCount()
S
61 2 13
getPostTypes()
S
69 2 7
getExcludedPages()
S
68 2 7
getUserGroups()
S
68 2 7
getStockStatus()
S
66 2 8
getAttributeId()
S
68 2 7
getTaxonomyId()
S
68 2 7
getInstance()
S
71 2 6
getPagesIdsFromRange()
S
59 1 15
getExcludedCategories()
S
68 2 7
getCategoriesIdsFromRange()
S
61 1 13
getSortableAttributes()
S
63 1 12
getMinMaxPageId()
S
62 1 12
addJQueryObjects()
S
65 1 12
getTranslate()
S
79 1 3
__construct()
S
77 1 4
rated()
S
77 1 4
getStripPostContent()
S
76 1 4
getProductsUsergroupIds()
S
74 1 4
isUsergroupPricesAvailable()
S
75 1 4
filterGroupedValues()
S
72 1 5
getRelatedProductIds()
S
78 1 3
getMinMaxCategoryId()
S
64 1 10
addAsyncObjects()
S
79 1 3
getMetaProductTypes()
S
78 1 3